<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>首页</title>
</head>
<style>
    a{
        color: aliceblue;
    }
    .box{
        width: 400px;
        padding: 40px;
        position: absolute;
        top:50%;
        left: 50%;
        transform: translate(-50%,-50%);
        background: rgba(235, 231, 231, 0.5);
        box-sizing: border-box;
        box-shadow: 0px 25px 25px rgb(0,0,0,.5);
        border-radius: 15px;
    }
    h1{
        color: rgb(9, 48, 155);
    }

</style>
<body background="imges\2.jpg">
<div class="box">
    <h1 style="position: center">欢迎进入首页！</h1>
    <form action="login" method="post">
        <div>
            <h2><a href="login.jsp" style="background-color: darkblue;position: relative;left: 40%">去登陆</a></h2>
            <h2><a href="register.jsp" style="background-color: darkblue;position: relative;left: 40%;">去注册</a></h2>
        </div>
    </form>
</div>
</body>
</html>
